<?php
namespace app\common\service;

use think\Model;
use app\common\model\First;
use think\Request;

class FirstService extends BaseService
{
    protected $pageSize = 10;



    /**
     * 获取首次关注的数据
     * @param First $firstModel
     * @param unknown $sid
     * @return unknown
     */
    public function getFirstDetail(First $firstModel, $sid){
        $where = [
            'sid' => $sid,
        ];
        $firstDetail = $firstModel->where($where)->find();
        return $firstDetail;
    }
}







